package cn.netjava.softkid.chapter07;

import java.io.FileNotFoundException;
import java.io.IOException;

public class FilePathTest {
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		FilePath fp = new FilePath();
		fp.getAllFileNames("D:",".txt");
		try {
			fp.output();
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		}
		try {
			fp.outputIntoFile();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
